home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / zip.1 < prev    next >
Text File  |  1995-07-25  |  30KB  |  727 lines

  1.  
  2.  
  3.  
  4.      ZZZZIIIIPPPP((((1111))))                    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                    ZZZZIIIIPPPP((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           zip, zipcloak, zipnote, zipsplit - package and compress
  10.           (archive) files
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           zzzziiiipppp [ ----ccccddddeeeeEEEEffffgggghhhhjjjjkkkkllllmmmmooooqqqqrrrruuuuwwwwyyyyzzzz@@@@ ] [ ----bbbb temppath ] [ ----nnnn suffixes ]
  14.           [ ----tttt mmddyy ] [ zipfile list ] [ ----xxxx list ]
  15.  
  16.           zzzziiiippppccccllllooooaaaakkkk [ ----dddd ] [ ----bbbb _p_a_t_h ] _z_i_p_f_i_l_e
  17.  
  18.           zzzziiiippppnnnnooootttteeee [ ----wwww ] [ ----bbbb _p_a_t_h ] _z_i_p_f_i_l_e
  19.  
  20.           zzzziiiippppsssspppplllliiiitttt [ ----ttttiiii ] [ ----nnnn _s_i_z_e ] [ ----bbbb _p_a_t_h ] _z_i_p_f_i_l_e
  21.  
  22.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.           _z_i_p is a compression and file packaging utility for Unix,
  24.           VMS, MSDOS, OS/2, Windows NT, Minix, Atari and Macintosh.
  25.           It is analogous to a combination of tar and compress and is
  26.           compatible with PKZIP (Phil Katz ZIP) for MSDOS systems.
  27.  
  28.           There is a companion to _z_i_p called _u_n_z_i_p (of course) which
  29.           you should be able to find the same place you got _z_i_p. _z_i_p
  30.           and _u_n_z_i_p can work with files produced by PKZIP under MSDOS,
  31.           and PKZIP and PKUNZIP can work with files produced by _z_i_p.
  32.  
  33.           _z_i_p version 1.9 is compatible with pkzip 1.93a.  Note that
  34.           pkunzip 1.10 cannot extract files produced by pkzip 1.93a or
  35.           zip 1.9. You must use pkunzip 1.93a or unzip 5.0 to extract
  36.           them.
  37.  
  38.           For a brief help on _z_i_p and _u_n_z_i_p, run each without
  39.           specifying any parameters on the command line.
  40.  
  41.           _z_i_p puts one or more compressed files into a single "zip
  42.           file" along with information about the files, including the
  43.           name, path if requested, date and time last modified,
  44.           protection, and check information to verify the fidelity of
  45.           each entry.  _z_i_p can also be used as a filter, compressing
  46.           standard input to standard output.  _z_i_p can pack an entire
  47.           directory structure in a zip file with a single command.
  48.           Compression ratios of 2:1 to 3:1 are common for text files.
  49.           _z_i_p has one compression method (deflation) and can also
  50.           store files without compression. It automatically chooses
  51.           the better of the two for each file to be compressed.
  52.  
  53.           _z_i_p is useful for packaging a set of files to send to
  54.           someone or for distribution; for archiving or backing up
  55.           files; and for saving disk space by temporarily compressing
  56.           unused files or directories.
  57.  
  58.      HHHHOOOOWWWW TTTTOOOO UUUUSSSSEEEE ZZZZIIIIPPPP
  59.           The simplest use of _z_i_p is as follows:
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 3/9/94)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      ZZZZIIIIPPPP((((1111))))                    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                    ZZZZIIIIPPPP((((1111))))
  71.  
  72.  
  73.  
  74.                zip stuff *
  75.  
  76.           This will create the file "stuff.zip" (assuming it does not
  77.           exist) and put all the files in the current directory in
  78.           stuff.zip in a compressed form.  The .zip suffix is added
  79.           automatically, unless that file name given contains a dot
  80.           already.  This allows specifying suffixes other than ".zip".
  81.  
  82.           Because of the way the shell does filename substitution,
  83.           files that start with a "." are not included.  To include
  84.           those as well, you can:
  85.  
  86.                zip stuff .* *
  87.  
  88.           Even this will not include any subdirectories that are in
  89.           the current directory.  To zip up an entire directory, the
  90.           command:
  91.  
  92.                zip -r foo foo
  93.  
  94.           will create the file "foo.zip" containing all the files and
  95.           directories in the directory "foo" that is in the current
  96.           directory. (The first "foo" denotes the zip file, the second
  97.           one denotes the directory.)  The "r" option means recurse
  98.           through the directory structure.  In this case, all the
  99.           files and directories in foo are zipped, including the ones
  100.           that start with a ".", since the recursion does not use the
  101.           shell's file-name substitution.  You should not use -r with
  102.           the name ".*", since that matches ".." which will attempt to
  103.           zip up the parent directory--probably not what was intended.
  104.  
  105.           You may want to make a zip file that contains the files in
  106.           foo, but not record the directory name, foo.  You can use
  107.           the -j (junk path) option to leave off the path:
  108.  
  109.                zip -j foo foo/*
  110.  
  111.           The -y option (only under Unix) will store symbolic links as
  112.           such in the zip file, instead of compressing and storing the
  113.           file referred to in the link.
  114.  
  115.           You might be zipping to save disk space, in which case you
  116.           could:
  117.  
  118.                zip -rm foo foo
  119.  
  120.           where the "m" option means "move".  This will delete foo and
  121.           its contents after making foo.zip.  No deletions will be
  122.           done until the zip has completed with no errors.  This
  123.           option is obviously more dangerous and should be used with
  124.           care.
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                           (printed 3/9/94)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      ZZZZIIIIPPPP((((1111))))                    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                    ZZZZIIIIPPPP((((1111))))
  137.  
  138.  
  139.  
  140.           If the zip file already exists, these commands will replace
  141.           existing or add new entries to the zip file.  For example,
  142.           if you were really short on disk space, you might not have
  143.           enough room simultaneously to hold the directory foo and the
  144.           compressed foo.zip.  In this case, you could do it in steps.
  145.           If foo contained the subdirectories tom, dick, and harry,
  146.           then you could:
  147.  
  148.                zip -rm foo foo/tom
  149.                zip -rm foo foo/dick
  150.                zip -rm foo foo/harry
  151.  
  152.           where the first command would create foo.zip, and the next
  153.           two would add to it.  At the completion of each zip command,
  154.           the directory just zipped would be deleted, making room in
  155.           which the next _z_i_p command could work.
  156.  
  157.           _z_i_p will also accept a single dash ("-") as the zip file
  158.           name, in which case it will write the zip file to stdout,
  159.           allowing the output to be piped to another program. For
  160.           example:
  161.  
  162.                zip -r - . | dd of=/dev/nrst0 obs=16k
  163.  
  164.           would write the zip output directly to a tape with the
  165.           specified block size for the purpose of backing up the
  166.           current directory.
  167.  
  168.           _z_i_p also accepts a single dash ("-") as the name of a file
  169.           to be compressed, in which case it will read the zip file
  170.           from stdin, allowing zip to take input from another program.
  171.           For example:
  172.  
  173.                tar cf - . | zip backup -
  174.  
  175.           would compress the output of the tar command for the purpose
  176.           of backing up the current directory. This generally produces
  177.           better compression than the previous example using the -r
  178.           option, because _z_i_p can take advantage of redundancy between
  179.           files. The backup can be restored using the command
  180.  
  181.                unzip -p backup | tar xf -
  182.  
  183.           When no zip file name is given and stdout is not a terminal,
  184.           _z_i_p acts as a filter, compressing standard input to standard
  185.           output.  For example,
  186.  
  187.                tar cf - . | zip | dd of=/dev/nrst0
  188.  
  189.           is equivalent to
  190.  
  191.                tar cf - . | zip - - | dd of=/dev/nrst0
  192.  
  193.  
  194.  
  195.      Page 3                                           (printed 3/9/94)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      ZZZZIIIIPPPP((((1111))))                    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                    ZZZZIIIIPPPP((((1111))))
  203.  
  204.  
  205.  
  206.           Zip archives created in this manner can be extracted with
  207.           the program _f_u_n_z_i_p which is provided in the _u_n_z_i_p package.
  208.           For example,
  209.  
  210.                   dd if=/dev/nrst0 | funzip | tar xvf -
  211.  
  212.      MMMMOOOODDDDIIIIFFFFYYYYIIIINNNNGGGG EEEEXXXXIIIISSSSTTTTIIIINNNNGGGG ZZZZIIIIPPPP FFFFIIIILLLLEEEESSSS
  213.           When given the name of an existing zip file with the above
  214.           commands, _z_i_p will replace identically named entries in the
  215.           _z_i_p file or add entries for new names.  For example, if
  216.           foo.zip exists and contains foo/file1 and foo/file2, and the
  217.           directory foo contains the files foo/file1 and foo/file3,
  218.           then:
  219.  
  220.                zip -r foo foo
  221.  
  222.           will replace foo/file1 in foo.zip and add foo/file3 to
  223.           foo.zip.  After this, foo.zip contains foo/file1, foo/file2,
  224.           and foo/file3, with foo/file2 unchanged from before.
  225.  
  226.           When changing an existing zip file, _z_i_p will write a
  227.           temporary file with the new contents, and only replace the
  228.           old one when the zip has completed with no errors. You can
  229.           use the -b option to specify a different path (usually a
  230.           different device) to put the temporary file in.  For
  231.           example:
  232.  
  233.                zip -b /tmp stuff *
  234.  
  235.           will put the temporary zip file and the temporary
  236.           compression files in the directory "/tmp", copying over
  237.           stuff.zip in the current directory when done.
  238.  
  239.           If you are only adding entries to a zip file, not replacing,
  240.           and the -g option is given, then _z_i_p grows (appends to) the
  241.           file instead of copying it.  The danger of this is that if
  242.           the operation fails, the original zip file is corrupted and
  243.           lost.
  244.  
  245.           There are two other ways to change or add entries in a zip
  246.           file that are restrictions of simple addition or
  247.           replacement.  The first is -u (update) which will add new
  248.           entries to the zip file as before but will replace existing
  249.           entries only if the modified date of the file is more recent
  250.           than the date recorded for that name in the zip file.  For
  251.           example:
  252.  
  253.                zip -u stuff *
  254.  
  255.           will add any new files in the current directory, and update
  256.           any changed files in the zip file stuff.zip.  Note that _z_i_p
  257.           will not try to pack stuff.zip into itself when you do this.
  258.  
  259.  
  260.  
  261.      Page 4                                           (printed 3/9/94)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      ZZZZIIIIPPPP((((1111))))                    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                    ZZZZIIIIPPPP((((1111))))
  269.  
  270.  
  271.  
  272.           _z_i_p will always exclude the zip file from the files on which
  273.           to be operated.
  274.  
  275.           The second restriction is -f (freshen) which, like update,
  276.           will only replace entries with newer files; unlike update,
  277.           will not add files that are not already in the zip file.
  278.           For this option, you may want to simply freshen all of the
  279.           files that are in the specified zip file.  To do this you
  280.           would simply:
  281.  
  282.                zip -f foo
  283.  
  284.           Note that the -f option with no arguments freshens all the
  285.           entries in the zip file.  The same is true of -u, and hence
  286.           "zip -u foo" and "zip -f foo" both do the same thing.
  287.  
  288.           This command should be run from the same directory from
  289.           which the original zip command was run, since paths stored
  290.           in zip files are always relative.
  291.  
  292.           Another restriction that can be used with adding, updating,
  293.           or freshening is -t (time), which will not operate on files
  294.           modified earlier than the specified date.  For example:
  295.  
  296.                zip -rt 120791 infamy foo
  297.  
  298.           will add all the files in foo and its subdirectories that
  299.           were last modified on December 7, 1991, or later to the zip
  300.           file infamy.zip.
  301.  
  302.           Also, files can be explicitly excluded using the -x option:
  303.  
  304.                zip -r foo foo -x \*.o
  305.  
  306.           which will zip up the contents of foo into foo.zip but
  307.           exclude all the files that end in ".o".  Here the backslash
  308.           causes _z_i_p to match file names that were found when foo was
  309.           searched.
  310.  
  311.           The last operation is -d (delete) which will remove entries
  312.           from a zip file.  An example might be:
  313.  
  314.                zip -d foo foo/tom/junk foo/harry/\* \*.o
  315.  
  316.           which will remove the entry foo/tom/junk, all of the files
  317.           that start with "foo/harry/", and all of the files that end
  318.           with ".o" (in any path).  Note that once again, the shell
  319.           expansion has been inhibited with backslashes, so that _z_i_p
  320.           can see the asterisks. _z_i_p can then match on the contents of
  321.           the zip file instead of the contents of the current
  322.           directory.
  323.  
  324.  
  325.  
  326.  
  327.      Page 5                                           (printed 3/9/94)
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.      ZZZZIIIIPPPP((((1111))))                    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                    ZZZZIIIIPPPP((((1111))))
  335.  
  336.  
  337.  
  338.           Under MSDOS, -d is case sensitive when it matches names in
  339.           the zip file.  This allows deleting names that were zipped
  340.           on other systems, but requires that the names be entered in
  341.           upper case if they were zipped on an MSDOS system, so that
  342.           the names can be found in the zip file and deleted.
  343.  
  344.      MMMMOOOORRRREEEE OOOOPPPPTTTTIIIIOOOONNNNSSSS
  345.           As mentioned before, _z_i_p will use the best of two methods:
  346.           deflate or store.
  347.  
  348.           The option -0 will force _z_i_p to use store on all files. For
  349.           example:
  350.  
  351.                zip -r0 foo foo
  352.  
  353.           will zip up the directory foo into foo.zip using only store.
  354.  
  355.           The speed of deflation can also be controlled with options
  356.           -1 (fastest method but less compression) to -9 (best
  357.           compression but slower). The default value is -5. For
  358.           example:
  359.  
  360.                zip -r8 foo foo
  361.  
  362.           In nearly all cases, a file that is already compressed
  363.           cannot be compressed further by _z_i_p, or if it can, the
  364.           effect is minimal.  The -n option prevents _z_i_p from trying
  365.           to compress files that have the given suffixes.  Such files
  366.           are simply stored (0% compression) in the output zip file,
  367.           so that _z_i_p doesn't waste its time trying to compress them.
  368.           The suffixes are separated by either colons or semicolons.
  369.           For example:
  370.  
  371.                zip -rn ".Z:.zip:.tiff:.gif:.snd"  foo foo
  372.  
  373.           will put everything in foo into foo.zip, but will store any
  374.           files that end in .Z, .zip, .tiff, .gif, or .snd without
  375.           trying to compress them.  (Image and sound files often have
  376.           their own specialized compression methods.) The default
  377.           suffix list is ".Z:.zip;.zoo:.arc:.lzh:.arj".  The
  378.           environment variable ZIPOPT can be used to change this
  379.           default. For example under Unix with csh:
  380.  
  381.                setenv ZIPOPT "-n .gif:.zip"
  382.  
  383.           The variable ZIPOPT can be used for any option and can
  384.           include several options.
  385.  
  386.           Under Unix and under OS/2 (if files from an HPFS are
  387.           stored), _z_i_p will store the full path (relative to the
  388.           current path) and name of the file (or just the name if -j
  389.           is specified) in the zip file along with the Unix
  390.  
  391.  
  392.  
  393.      Page 6                                           (printed 3/9/94)
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.      ZZZZIIIIPPPP((((1111))))                    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                    ZZZZIIIIPPPP((((1111))))
  401.  
  402.  
  403.  
  404.           attributes, and it will mark the entry as made under Unix.
  405.           If the zip file is intended for PKUNZIP under MSDOS, then
  406.           the -k (Katz) option should be used to attempt to convert
  407.           the names and paths to conform to MSDOS, store only the
  408.           MSDOS attribute (just the user write attribute from Unix),
  409.           and mark the entry as made under MSDOS (even though it
  410.           wasn't).
  411.  
  412.           The -o (older) option will set the "last modified" time of
  413.           the zip file to the latest "last modified" time of the
  414.           entries in the zip file.  This can be used without any other
  415.           operations, if desired.  For example:
  416.  
  417.                zip -o foo
  418.  
  419.           will change the last modified time of foo.zip to the latest
  420.           time of the entries in foo.zip.
  421.  
  422.           The -e and -c options operate on all files updated or added
  423.           to the zip file.  Encryption (-e) will prompt for a password
  424.           on the terminal and will not echo the password as it is
  425.           typed (if stderr is not a TTY, zip will exit with an error).
  426.           New zip entries will be encrypted using that password.  For
  427.           added peace of mind, you can use -ee, which will prompt for
  428.           the password twice, checking that the two are the same
  429.           before using it. The encryption code is distributed
  430.           separately, so the -e option may not be available in your
  431.           version.
  432.  
  433.           One-line comments can be added for each file with the -c
  434.           option.  The zip file operations (adding or updating) will
  435.           be done first, and you will then be prompted for a one-line
  436.           comment for each file.  You can then enter the comment
  437.           followed by return, or just return for no comment.
  438.  
  439.           The -z option will prompt you for a multi-line comment for
  440.           the entire zip file.  This option can be used by itself, or
  441.           in combination with other options.  The comment is ended by
  442.           a line containing just a period, or an end of file condition
  443.           (^D on Unix, ^Z on MSDOS, OS/2, and VAX/VMS).  Since -z
  444.           reads the lines from stdin, you can simply take the comment
  445.           from a file:
  446.  
  447.                zip -z foo < foowhat
  448.  
  449.           The -q (quiet) option eliminates the informational messages
  450.           and comment prompts while _z_i_p is operating.  This might be
  451.           used in shell scripts, for example, or if the zip operation
  452.           is being performed as a background task ("zip -q foo *.c
  453.           &").
  454.  
  455.           _z_i_p can take a list of file names to operate on from stdin
  456.  
  457.  
  458.  
  459.      Page 7                                           (printed 3/9/94)
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.      ZZZZIIIIPPPP((((1111))))                    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                    ZZZZIIIIPPPP((((1111))))
  467.  
  468.  
  469.  
  470.           using the -@ option.  In Unix, this option can be used with
  471.           the find command to extend greatly the functionality of _z_i_p.
  472.           For example, to zip up all the C source files in the current
  473.           directory and its subdirectories, you can:
  474.  
  475.                find . -type f -name "*.[ch]" -print | zip source -@
  476.  
  477.           Note that the pattern must be quoted to keep the shell from
  478.           expanding it.
  479.  
  480.           Under VMS only, the -w option will append the version number
  481.           of the files to the name and zip up multiple versions of
  482.           files.  Without -w, _z_i_p will only use the most recent
  483.           version of the specified file(s).
  484.  
  485.           The -l option translates the Unix end-of-line character LF
  486.           into the MSDOS convention CR LF. This option should not be
  487.           used on binary files.  This option can be used on Unix if
  488.           the zip file is intended for PKUNZIP under MSDOS. If the
  489.           input files already contain CR LF, this option adds an extra
  490.           CR. This ensure that "unzip -a" on Unix will get back an
  491.           exact copy of the original file, to undo the effect of "zip
  492.           -l".
  493.  
  494.           If _z_i_p is run with the -h option, or with no arguments and
  495.           standard output is a terminal, the license and the command-
  496.           argument and option help is shown.  The -L option just shows
  497.           the license.
  498.  
  499.      AAAABBBBOOOOUUUUTTTT PPPPAAAATTTTTTTTEEEERRRRNNNN MMMMAAAATTTTCCCCHHHHIIIINNNNGGGG
  500.           (Note: this section applies to Unix.  Watch this space for
  501.           details on MSDOS and VMS operation.)
  502.  
  503.           The Unix shell (sh or csh) does filename substitution on
  504.           command arguments.  The special characters are ?, which
  505.           matches any single character; * which matches any number of
  506.           characters (including none); and [] which matches any
  507.           character in the range inside the brackets (like [a-f] or
  508.           [0-9]).  When these characters are encountered (and not
  509.           escaped with a backslash or quotes), the shell will look for
  510.           files relative to the current path that match the pattern,
  511.           and replace the argument with a list of the names that
  512.           matched.
  513.  
  514.           _z_i_p can do the same matching on names that are in the zip
  515.           file being modified or, in the case of the -x (exclude)
  516.           option, on the list of files to be operated on, by using
  517.           backslashes or quotes to tell the shell not to do the name
  518.           expansion.  In general, when _z_i_p encounters a name in the
  519.           list of files to do, it first looks for the name in the file
  520.           system.  If it finds it, it then adds it to the list of
  521.           files to do.  If it does not find it, it will look for the
  522.  
  523.  
  524.  
  525.      Page 8                                           (printed 3/9/94)
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.      ZZZZIIIIPPPP((((1111))))                    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                    ZZZZIIIIPPPP((((1111))))
  533.  
  534.  
  535.  
  536.           name in the zip file being modified (if it exists), using
  537.           the pattern matching characters above, if any.  For each
  538.           match, it will add that name to the list of files to do.
  539.           After -x (exclude), the names are removed from the to-do
  540.           list instead of added.
  541.  
  542.           The pattern matching includes the path, and so patterns like
  543.           \*.o match names that end in ".o", no matter what the path
  544.           prefix is.  Note that the backslash must precede every
  545.           special character (i.e. ?*[]), or the entire argument must
  546.           be enclosed in double quotes ("").
  547.  
  548.           In general, using backslash to make _z_i_p do the pattern
  549.           matching is used with the -f (freshen) and -d (delete)
  550.           options, and sometimes after the -x (exclude) option when
  551.           used with any operation (add, -u, -f, or -d).  _z_i_p will
  552.           never use pattern matching to search the file system.  If
  553.           _z_i_p has recursed into a directory, all files (and all
  554.           directories) in there are fair game.
  555.  
  556.      CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
  557.           Copyright (C) 1990-1992 Mark Adler, Richard B. Wales, Jean-
  558.           loup Gailly, Kai Uwe Rommel and Igor Mandrichenko.
  559.           Permission is granted to any individual or institution to
  560.           use, copy, or redistribute this software so long as all of
  561.           the original files are included unmodified, that it is not
  562.           sold for profit, and that this copyright notice is retained.
  563.  
  564.      AAAACCCCKKKKNNNNOOOOWWWWLLLLEEEEDDDDGGGGEEEEMMMMEEEENNNNTTTTSSSS
  565.           Thanks to R. P. Byrne for his Shrink.Pas program which
  566.           inspired this project; to Phil Katz for making the zip file
  567.           format, compression format, and .zip filename extension all
  568.           public domain; to Steve Burg and Phil Katz for help on
  569.           unclear points of the deflate format; to Keith Petersen and
  570.           Rich Wales for providing a mailing list and ftp site for the
  571.           INFO-ZIP group to use; and most importantly, to the INFO-ZIP
  572.           group itself (listed in the file infozip.who) without whose
  573.           tireless testing and bug-fixing efforts a portable _z_i_p would
  574.           not have been possible.  Finally we should thank (blame) the
  575.           INFO-ZIP moderator, David Kirschbaum for getting us into
  576.           this mess in the first place.
  577.  
  578.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  579.           unzip(1), tar(1), compress(1)
  580.  
  581.      BBBBUUUUGGGGSSSS
  582.           WARNING: zip files produced by zip 1.9 must not be *updated*
  583.           by zip 1.0 or pkzip 1.10 or pkzip 1.93a, if they contain
  584.           encrypted members, or if they have been produced in a pipe
  585.           or on a non seekable device. The old versions of zip or
  586.           pkzip would destroy the zip structure. The old versions can
  587.           list the contents of the zip file but cannot extract it
  588.  
  589.  
  590.  
  591.      Page 9                                           (printed 3/9/94)
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.      ZZZZIIIIPPPP((((1111))))                    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                    ZZZZIIIIPPPP((((1111))))
  599.  
  600.  
  601.  
  602.           anyway (because of the new compression algorithm).  If you
  603.           do not use encryption and use regular disk files, you do not
  604.           have to care about this problem.
  605.  
  606.           zip 1.9 is compatible with pkzip 1.93a, except when two
  607.           features are used: encryption or zip file created in a pipe
  608.           or on a non seekable device. pkzip versions above 2.0 will
  609.           support such files, and unzip 5.0 already supports them.
  610.  
  611.           Without -y, when zip must compress a symbolic link to an non
  612.           existing file, it only displays a warning "name not
  613.           matched". A better warnign should be given.
  614.  
  615.           The option -e also forces -o (make zipfile as old as latest
  616.           entry). This is used to make brute force attacks on the
  617.           password harder.
  618.  
  619.           Under VMS, not all of the odd file formats are treated
  620.           properly.  Only zip files of format stream-LF and fixed
  621.           length 512 are expected to work with zip.  Others can be
  622.           converted using Rahul Dhesi's BILF program.  This version of
  623.           zip does handle some of the conversion internally.  When
  624.           using Kermit to transfer zip files from Vax to MSDOS, type
  625.           "set file type block" on the Vax.  When transfering from
  626.           MSDOS to Vax, type "set file type fixed" on the Vax.  In
  627.           both cases, type "set file type binary" on MSDOS.
  628.  
  629.           Under VMS, zip hangs for file specification that uses DECnet
  630.           syntax (foo::*.*).
  631.  
  632.           Under OS/2, the amount of External Attributes displayed by
  633.           DIR is (for compatibility) the amount returned by the 16-bit
  634.           version of DosQueryPathInfo(). Otherwise OS/2 1.3 and 2.0
  635.           would report different EA sizes when DIRing a file.
  636.           However, the structure layout returned by the 32-bit
  637.           DosQueryPathInfo() is a bit different, it uses extra padding
  638.           bytes and link pointers (it's a linked list) to have all
  639.           fields on 4-byte boundaries for portability to future RISC
  640.           OS/2 versions. Therefore the value reported by ZIP (which
  641.           uses this 32-bit-mode size) differs from that reported by
  642.           DIR.  ZIP stores the 32-bit format for portability, even the
  643.           16-bit MS-C-compiled version running on OS/2 1.3, so even
  644.           this one shows the 32-bit-mode size.
  645.  
  646.           LIKE ANYTHING ELSE THAT'S FREE, ZIP AND ITS ASSOCIATED
  647.           UTILITIES ARE PROVIDED AS IS AND COME WITH NO WARRANTY OF
  648.           ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT WILL THE
  649.           COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES RESULTING FROM
  650.           THE USE OF THIS SOFTWARE.
  651.  
  652.           That having been said, please send any problems or comments
  653.           via email to the Internet address zip-bugs@cs.ucla.edu.  For
  654.  
  655.  
  656.  
  657.      Page 10                                          (printed 3/9/94)
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.      ZZZZIIIIPPPP((((1111))))                    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                    ZZZZIIIIPPPP((((1111))))
  665.  
  666.  
  667.  
  668.           bug reports, please include the version of zip, the make
  669.           options you used to compile it, the machine and operating
  670.           system you are using, and as much additional information as
  671.           possible.  Thank you for your support.
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.      Page 11                                          (printed 3/9/94)
  724.  
  725.  
  726.  
  727.